package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.domain.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface AccountMapper extends BaseMapper<Account> {

    //用户消费100元
    void updateQuota(@Param("id") Integer id,@Param("monetary") Double monetary);
    //用户退款20元
    void refundMonetary(@Param("id") Integer id,@Param("monetary") Double monetary);
}
